LATEST=$(curl https://www.7-zip.org/ | grep -o 'a/7z.*x64.exe' | head -n1)
LINK="https://www.7-zip.org/$LATEST"
wget -c "$LINK"
SHA256=$(sha256sum $(basename $LATEST) | cut -d ' ' -f 1)
cat > info << EOF
url=${LINK}
sha256sum=${SHA256}
EOF

echo "$(basename $LATEST) /S" > install.bat
